package com.hydl.power.mapper;

import com.hydl.power.pojo.Identical;
import com.hydl.power.pojo.IdenticalExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface IdenticalMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Identical record);

    int insertSelective(Identical record);

    List<Identical> selectByExample(IdenticalExample example);

    Identical selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Identical record);

    int updateByPrimaryKey(Identical record);

    List selectAll();
    /*查询年同比分析数据*/
    List<Identical> queryIdentical(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize, String cityId, String projectId,String startTime);

    /*查询月同比分析数据*/
    List<Identical> queryIdenticalMonth(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize,String cityId,String projectId,String startTime);

    /*查询日同比分析数据*/
    List<Identical> queryIdenticalDay(@Param("pageNumKey") Integer pageNum, @Param("pageSizeKey") Integer pageSize,String cityId,String projectId,String startTime);

    /*看板同比分析*/
    List<Identical>queryYearOnYearDays(String roomId);
}
